<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class PDO_doc_cache</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class PDO_doc_cache</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description"><a href="http://smarty.net/">Smarty</a>-inspired caching mechanism designed to be used with <a href="http://uk.php.net/PDO">PHP Data Object</a> interfaces such as SQLite</p>
		<p class="notes">
			Located in <a class="field" href="_pdo-doc-cache.php.html">/pdo-doc-cache.php</a> (line <span class="field">86</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#error_string_PDO_could_not_bind_column" title="details" class="const-name">error_string_PDO_could_not_bind_column</a> = 					<span class="var-type"> 'Could not bind column to value on prepared statement.'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#error_string_PDO_could_not_bind_parameters" title="details" class="const-name">error_string_PDO_could_not_bind_parameters</a> = 					<span class="var-type"> 'Could not bind parameters to prepared statement.'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#error_string_PDO_could_not_execute_statement" title="details" class="const-name">error_string_PDO_could_not_execute_statement</a> = 					<span class="var-type"> 'Could not execute prepared statement.'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#error_string_PDO_could_not_fetch_bound_col" title="details" class="const-name">error_string_PDO_could_not_fetch_bound_col</a> = 					<span class="var-type"> 'Could not fetch bound column.'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#error_string_PDO_could_not_prepare_statement" title="details" class="const-name">error_string_PDO_could_not_prepare_statement</a> = 					<span class="var-type"> 'Could not prepare statement.'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_cache_document" title="details" class="const-name">sql_cache_document</a> = 					<span class="var-type">
'INSERT OR REPLACE INTO
	PDO_doc_cache (id,filename,cache_id,compile_id,created,lifetime,document)
VALUES(
	:id,
	:filename,
	:cache_id,
	:compile_id,
	:created,
	:lifetime,
	:document
)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_all_cache" title="details" class="const-name">sql_clear_all_cache</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	(:now - created) &gt; :expire_time'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_cache_id" title="details" class="const-name">sql_clear_cache_cache_id</a> = 					<span class="var-type">
'DELETE	FROM
	PDO_doc_cache
WHERE
	cache_id=:cache_id
	(:now - created) &gt;= (:expire_time + 0)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_cache_id_compile_id" title="details" class="const-name">sql_clear_cache_cache_id_compile_id</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	cache_id=:cache_id AND
	compile_id=:compile_id
	(:now - created) &gt;= (:expire_time + 0)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_compile_id" title="details" class="const-name">sql_clear_cache_compile_id</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	compile_id=:compile_id
	(:now - created) &gt;= (:expire_time + 0)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_filename" title="details" class="const-name">sql_clear_cache_filename</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	filename=:filename'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_filename_cache_id" title="details" class="const-name">sql_clear_cache_filename_cache_id</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	filename=:filename AND
	cache_id=:cache_id'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_filename_cache_id_compile_id" title="details" class="const-name">sql_clear_cache_filename_cache_id_compile_id</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	filename=:filename AND
	cache_id=:cache_id AND
	compile_id=:compile_id AND
	(:now - created) &gt;= (:expire_time + 0)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_clear_cache_filename_compile_id" title="details" class="const-name">sql_clear_cache_filename_compile_id</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	filename=:filename AND
	compile_id=:compile_id
	(:now - created) &gt;= (:expire_time + 0)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_create_index" title="details" class="const-name">sql_create_index</a> = 					<span class="var-type">
'CREATE UNIQUE INDEX IF NOT EXISTS
	filename
ON
	PDO_doc_cache (filename,cache_id,compile_id)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_create_table" title="details" class="const-name">sql_create_table</a> = 					<span class="var-type">
'CREATE TABLE IF NOT EXISTS PDO_doc_cache (
	id CHAR(40) PRIMARY KEY NOT NULL,
	filename CHAR(255) NOT NULL,
	cache_id CHAR(255) NOT NULL,
	compile_id CHAR(255) NOT NULL,
	created INT(10) NOT NULL,
	lifetime INT(8) NOT NULL,
	document BLOB
)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_gc_cache" title="details" class="const-name">sql_gc_cache</a> = 					<span class="var-type">
'DELETE FROM
	PDO_doc_cache
WHERE
	(created + lifetime) &lt; (:now + 0)'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_get_created" title="details" class="const-name">sql_get_created</a> = 					<span class="var-type">
'SELECT
	created
FROM
	PDO_doc_cache
WHERE
	filename=:filename AND
	cache_id=:cache_id AND
	compile_id=:compile_id'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_get_document" title="details" class="const-name">sql_get_document</a> = 					<span class="var-type">
'SELECT
	document
FROM
	PDO_doc_cache
WHERE
	filename=:filename AND
	cache_id=:cache_id AND
	compile_id=:compile_id'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#sql_get_expires" title="details" class="const-name">sql_get_expires</a> = 					<span class="var-type">
'SELECT
	(created + lifetime) AS expires
FROM
	PDO_doc_cache
WHERE
	filename=:filename AND
	cache_id=:cache_id AND
	compile_id=:compile_id'</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																																																																								<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$auto_serialize" title="details" class="var-name">$auto_serialize</a>
				</div>
																<div class="var-title">
					<span class="var-type">callback|null</span>
					<a href="#$cache_callback" title="details" class="var-name">$cache_callback</a>
				</div>
																<div class="var-title">
					<span class="var-type">callback|null</span>
					<a href="#$fetch_callback" title="details" class="var-name">$fetch_callback</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDO</span>
					<a href="#$PDO" title="details" class="var-name">$PDO</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_cache_document" title="details" class="var-name">$sth_cache_document</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_all_cache" title="details" class="var-name">$sth_clear_all_cache</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_cache_id" title="details" class="var-name">$sth_clear_cache_cache_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_cache_id_compile_id" title="details" class="var-name">$sth_clear_cache_cache_id_compile_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_compile_id" title="details" class="var-name">$sth_clear_cache_compile_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_filename" title="details" class="var-name">$sth_clear_cache_filename</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_filename_cache_id" title="details" class="var-name">$sth_clear_cache_filename_cache_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_filename_cache_id_compile_id" title="details" class="var-name">$sth_clear_cache_filename_cache_id_compile_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_clear_cache_filename_compile_id" title="details" class="var-name">$sth_clear_cache_filename_compile_id</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_gc_cache" title="details" class="var-name">$sth_gc_cache</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_get_created" title="details" class="var-name">$sth_get_created</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_get_document" title="details" class="var-name">$sth_get_document</a>
				</div>
																<div class="var-title">
					<span class="var-type">PDOStatement</span>
					<a href="#$sth_get_expires" title="details" class="var-name">$sth_get_expires</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
												<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#auto_serialize_off" title="details" class="method-name">auto_serialize_off</a>
										()
									</div>
																																																																																								<div class="method-definition">
					static 						<span class="method-result">PDO</span>
										<a href="#PDO" title="details" class="method-name">PDO</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$dsn</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$user</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$pass</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$driver_options</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					static 						<span class="method-result">PDOStatement</span>
										<a href="#prepare_sth" title="details" class="method-name">prepare_sth</a>
											(<span class="var-type"><a href="../PDO_doc_cache/PDO_doc_cache.html">PDO_doc_cache</a></span>&nbsp;<span class="var-name">$PDO_doc_cache</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$operation</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">string</span>
										<a href="#row_id" title="details" class="method-name">row_id</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
									</div>
																																								<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#validate_arg" title="details" class="method-name">validate_arg</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$arg</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$is</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#validate_cache_id" title="details" class="method-name">validate_cache_id</a>
											(<span class="var-type">string|mixed</span>&nbsp;<span class="var-name">$cache_id</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#validate_compile_id" title="details" class="method-name">validate_compile_id</a>
											(<span class="var-type">string|mixed</span>&nbsp;<span class="var-name">$compile_id</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#validate_filename" title="details" class="method-name">validate_filename</a>
											(<span class="var-type">string|mixed</span>&nbsp;<span class="var-name">$filename</span>)
									</div>
																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#validate_lifetime" title="details" class="method-name">validate_lifetime</a>
											(<span class="var-type">integer|mixed</span>&nbsp;<span class="var-name">$lifetime</span>)
									</div>
																
																				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#auto_serialize_on" title="details" class="method-name">auto_serialize_on</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#cache" title="details" class="method-name">cache</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$document</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$lifetime</span> = <span class="var-default">30</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#clear_all_cache" title="details" class="method-name">clear_all_cache</a>
											([<span class="var-type">integer</span>&nbsp;<span class="var-name">$expire_time</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#clear_cache" title="details" class="method-name">clear_cache</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$expire_time</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">integer|bool</span>
										<a href="#created" title="details" class="method-name">created</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">integer|bool</span>
										<a href="#expires" title="details" class="method-name">expires</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#fetch" title="details" class="method-name">fetch</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#gc_cache" title="details" class="method-name">gc_cache</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#is_cached" title="details" class="method-name">is_cached</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
									</div>
																																								<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#set_callback" title="details" class="method-name">set_callback</a>
											(<span class="var-type">callback|null</span>&nbsp;<span class="var-name">$cache_callback</span>, <span class="var-type">callback|null</span>&nbsp;<span class="var-name">$fetch_callback</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#Smarty_cache_handler" title="details" class="method-name">Smarty_cache_handler</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$Smarty</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$cache_content</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$expire_time</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">PDO_doc_cache</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$PDO</span>)
									</div>
																																																								<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__clone" title="details" class="method-name">__clone</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$auto_serialize" id="$auto_serialize"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$auto_serialize</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">95</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> When set to TRUE all data is autoamtically serialize prior to storage, and unserialized during the fetching process</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodauto_serialize_on">PDO_doc_cache::auto_serialize_on()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#method__clone">PDO_doc_cache::__clone()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodauto_serialize_off">PDO_doc_cache::auto_serialize_off()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$cache_callback" id="$cache_callback"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">callback|null</span>
			<span class="var-name">$cache_callback</span>
						(line <span class="line-number">103</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> Useful for specifying functions with which to compress the data prior to being stored</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodset_callback">PDO_doc_cache::set_callback()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#method__clone">PDO_doc_cache::__clone()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$fetch_callback" id="$fetch_callback"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">callback|null</span>
			<span class="var-name">$fetch_callback</span>
						(line <span class="line-number">99</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> Useful for specifying functions with which to decompress the data prior to being returned</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodset_callback">PDO_doc_cache::set_callback()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#method__clone">PDO_doc_cache::__clone()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$PDO" id="$PDO"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDO</span>
			<span class="var-name">$PDO</span>
						(line <span class="line-number">91</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> Holds the PDO object used to interact with the database</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#method__construct">PDO_doc_cache::__construct()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_cache_document" id="$sth_cache_document"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_cache_document</span>
						(line <span class="line-number">120</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for storing the document</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_all_cache" id="$sth_clear_all_cache"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_all_cache</span>
						(line <span class="line-number">128</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_all_cache">PDO_doc_cache::clear_all_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_cache_id" id="$sth_clear_cache_cache_id"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_cache_id</span>
						(line <span class="line-number">148</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific cache id</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_cache_id_compile_id" id="$sth_clear_cache_cache_id_compile_id"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_cache_id_compile_id</span>
						(line <span class="line-number">156</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific cache id and compile id</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_compile_id" id="$sth_clear_cache_compile_id"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_compile_id</span>
						(line <span class="line-number">152</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific compile id</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_filename" id="$sth_clear_cache_filename"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_filename</span>
						(line <span class="line-number">132</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific filename</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_filename_cache_id" id="$sth_clear_cache_filename_cache_id"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_filename_cache_id</span>
						(line <span class="line-number">136</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific filename and cache id</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_filename_cache_id_compile_id" id="$sth_clear_cache_filename_cache_id_compile_id"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_filename_cache_id_compile_id</span>
						(line <span class="line-number">140</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific filename, cache id and compile id</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_clear_cache_filename_compile_id" id="$sth_clear_cache_filename_compile_id"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_clear_cache_filename_compile_id</span>
						(line <span class="line-number">144</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for clearing all cache entries with a specific filename and compile id</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_gc_cache" id="$sth_gc_cache"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_gc_cache</span>
						(line <span class="line-number">124</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for runnig garbage collection on the cache</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodgc_cache">PDO_doc_cache::gc_cache()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_get_created" id="$sth_get_created"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_get_created</span>
						(line <span class="line-number">116</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for retrieving the document creation time</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcreated">PDO_doc_cache::created()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_get_document" id="$sth_get_document"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_get_document</span>
						(line <span class="line-number">108</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for retrieving the document</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$sth_get_expires" id="$sth_get_expires"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">PDOStatement</span>
			<span class="var-name">$sth_get_expires</span>
						(line <span class="line-number">112</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds the statement handler for retrieving the document expiry time</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodexpires">PDO_doc_cache::expires()</a></li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodauto_serialize_off" id="auto_serialize_off"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method auto_serialize_off</span> (line <span class="line-number">589</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Disables auto-serialization of document contents</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$auto_serialize">PDO_doc_cache::$auto_serialize</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			auto_serialize_off
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodPDO" id="PDO"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method PDO</span> (line <span class="line-number">364</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates a PDO object intended to be used with PDO_doc_cache::__construct</p>
	<ul class="tags">
				<li><span class="field">link:</span> <a href="http://uk.php.net/PDO">http://uk.php.net/PDO</a></li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">PDO</span>
		<span class="method-name">
			PDO
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$dsn</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$user</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$pass</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$driver_options</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$dsn</span><span class="var-description">: the <a href="http://en.wikipedia.org/wiki/Database_Source_Name">DSN</a> used to connect to the database</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$user</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pass</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$driver_options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprepare_sth" id="prepare_sth"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method prepare_sth</span> (line <span class="line-number">488</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Uses <a href="http://uk.php.net/manual/en/language.oop5.reflection.php#language.oop5.reflection.reflectionclass">Reflection</a> to automagically assign the prepared statement to the correct object property</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodgc_cache">PDO_doc_cache::gc_cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_all_cache">PDO_doc_cache::clear_all_cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcreated">PDO_doc_cache::created()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodexpires">PDO_doc_cache::expires()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">PDOStatement</span>
		<span class="method-name">
			prepare_sth
		</span>
					(<span class="var-type"><a href="../PDO_doc_cache/PDO_doc_cache.html">PDO_doc_cache</a></span>&nbsp;<span class="var-name">$PDO_doc_cache</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$operation</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../PDO_doc_cache/PDO_doc_cache.html">PDO_doc_cache</a></span>
				<span class="var-name">$PDO_doc_cache</span><span class="var-description">: the instance of <a href="../PDO_doc_cache/PDO_doc_cache.html">PDO_doc_cache</a> to which to set properties on</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$operation</span><span class="var-description">: Used by reflection to get the constant containing the SQL query and set the property for the PDOStatement handler.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrow_id" id="row_id"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method row_id</span> (line <span class="line-number">406</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a uniqie identifier intended to be used as the PRIMARY KEY in a table</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">string</span>
		<span class="method-name">
			row_id
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$compile_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate_arg" id="validate_arg"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method validate_arg</span> (line <span class="line-number">416</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempts to validate the specified argument, throwing an <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">Exception</a> if validation fails</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_all_cache">PDO_doc_cache::clear_all_cache()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			validate_arg
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$arg</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$is</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$arg</span><span class="var-description">: the argument to validate</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$is</span><span class="var-description">: informs <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_arg">PDO_doc_cache::validate_arg()</a>what the variable is in order to aid validation</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate_cache_id" id="validate_cache_id"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method validate_cache_id</span> (line <span class="line-number">459</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates the cache ID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcreated">PDO_doc_cache::created()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodexpires">PDO_doc_cache::expires()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodis_cached">PDO_doc_cache::is_cached()</a></li>
				<li><span class="field">uses:</span> PDO_doc_cache::validate_arg();</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			validate_cache_id
		</span>
					(<span class="var-type">string|mixed</span>&nbsp;<span class="var-name">$cache_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string|mixed</span>
				<span class="var-name">$cache_id</span><span class="var-description">: cache ID to validate</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate_compile_id" id="validate_compile_id"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method validate_compile_id</span> (line <span class="line-number">468</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates the compile ID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcreated">PDO_doc_cache::created()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodexpires">PDO_doc_cache::expires()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodis_cached">PDO_doc_cache::is_cached()</a></li>
				<li><span class="field">uses:</span> PDO_doc_cache::validate_arg();</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			validate_compile_id
		</span>
					(<span class="var-type">string|mixed</span>&nbsp;<span class="var-name">$compile_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string|mixed</span>
				<span class="var-name">$compile_id</span><span class="var-description">: compile ID to validate</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate_filename" id="validate_filename"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method validate_filename</span> (line <span class="line-number">450</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates the filename</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcreated">PDO_doc_cache::created()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodclear_cache">PDO_doc_cache::clear_cache()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache_document/PDO_doc_cache_document.html#method__construct">PDO_doc_cache_document::__construct()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodexpires">PDO_doc_cache::expires()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodis_cached">PDO_doc_cache::is_cached()</a></li>
				<li><span class="field">uses:</span> PDO_doc_cache::validate_arg();</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodcache">PDO_doc_cache::cache()</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			validate_filename
		</span>
					(<span class="var-type">string|mixed</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string|mixed</span>
				<span class="var-name">$filename</span><span class="var-description">: filename to validate</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate_lifetime" id="validate_lifetime"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method validate_lifetime</span> (line <span class="line-number">477</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates the lifetime</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> PDO_doc_cache::validate_arg();</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			validate_lifetime
		</span>
					(<span class="var-type">integer|mixed</span>&nbsp;<span class="var-name">$lifetime</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer|mixed</span>
				<span class="var-name">$lifetime</span><span class="var-description">: lifetime to validate</span>			</li>
				</ul>
		
			
	</div>

<a name="methodauto_serialize_on" id="auto_serialize_on"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">auto_serialize_on</span> (line <span class="line-number">581</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Enables auto-serialization of document contents</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$auto_serialize">PDO_doc_cache::$auto_serialize</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			auto_serialize_on
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcache" id="cache"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">cache</span> (line <span class="line-number">732</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores the specified document in the database</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_filename">PDO_doc_cache::validate_filename()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_compile_id">PDO_doc_cache::validate_compile_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_cache_id">PDO_doc_cache::validate_cache_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$fetch_callback">PDO_doc_cache::$fetch_callback</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_cache_document">PDO_doc_cache::$sth_cache_document</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$auto_serialize">PDO_doc_cache::$auto_serialize</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			cache
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$document</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$lifetime</span> = <span class="var-default">30</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$compile_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$document</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$lifetime</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclear_all_cache" id="clear_all_cache"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">clear_all_cache</span> (line <span class="line-number">956</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempts to clear all documents over a specified age</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_arg">PDO_doc_cache::validate_arg()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_all_cache">PDO_doc_cache::$sth_clear_all_cache</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clear_all_cache
		</span>
					([<span class="var-type">integer</span>&nbsp;<span class="var-name">$expire_time</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$expire_time</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclear_cache" id="clear_cache"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">clear_cache</span> (line <span class="line-number">1006</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attempts to clear all documents over a specified age</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_cache_id">PDO_doc_cache::validate_cache_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_arg">PDO_doc_cache::validate_arg()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_compile_id">PDO_doc_cache::validate_compile_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_filename">PDO_doc_cache::validate_filename()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_filename_compile_id">PDO_doc_cache::$sth_clear_cache_filename_compile_id</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_compile_id">PDO_doc_cache::$sth_clear_cache_compile_id</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_cache_id_compile_id">PDO_doc_cache::$sth_clear_cache_cache_id_compile_id</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_filename">PDO_doc_cache::$sth_clear_cache_filename</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_filename_cache_id">PDO_doc_cache::$sth_clear_cache_filename_cache_id</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_filename_cache_id_compile_id">PDO_doc_cache::$sth_clear_cache_filename_cache_id_compile_id</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_clear_cache_cache_id">PDO_doc_cache::$sth_clear_cache_cache_id</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clear_cache
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$expire_time</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$compile_id</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$expire_time</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreated" id="created"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">created</span> (line <span class="line-number">859</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Fetches the creation for the specified document</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns the creation time as a UNIX tiemstamp, FALSE on fail</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_filename">PDO_doc_cache::validate_filename()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_compile_id">PDO_doc_cache::validate_compile_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_cache_id">PDO_doc_cache::validate_cache_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_get_created">PDO_doc_cache::$sth_get_created</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer|bool</span>
		<span class="method-name">
			created
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$compile_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodexpires" id="expires"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">expires</span> (line <span class="line-number">793</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Fetches the expiry for the specified document</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns the expiry time as a UNIX tiemstamp, FALSE on fail</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_filename">PDO_doc_cache::validate_filename()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_compile_id">PDO_doc_cache::validate_compile_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_cache_id">PDO_doc_cache::validate_cache_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_get_expires">PDO_doc_cache::$sth_get_expires</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer|bool</span>
		<span class="method-name">
			expires
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$compile_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfetch" id="fetch"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">fetch</span> (line <span class="line-number">649</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Fetches the specified document from the database</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns the document, FALSE on fail</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_filename">PDO_doc_cache::validate_filename()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_compile_id">PDO_doc_cache::validate_compile_id()</a></li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodis_cached">PDO_doc_cache::is_cached()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_cache_id">PDO_doc_cache::validate_cache_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$fetch_callback">PDO_doc_cache::$fetch_callback</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_get_document">PDO_doc_cache::$sth_get_document</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$auto_serialize">PDO_doc_cache::$auto_serialize</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			fetch
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$compile_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgc_cache" id="gc_cache"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">gc_cache</span> (line <span class="line-number">918</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Runs garbage collection on the database cache</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#method__construct">PDO_doc_cache::__construct()</a></li>
				<li><span class="field">uses:</span> <a href="../UHU_exception/PDO_doc_cache/PDO_doc_cache_Exception.html">PDO_doc_cache_Exception</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodprepare_sth">PDO_doc_cache::prepare_sth()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$sth_gc_cache">PDO_doc_cache::$sth_gc_cache</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			gc_cache
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodis_cached" id="is_cached"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">is_cached</span> (line <span class="line-number">619</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Checks if the given document is cached</p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE if cached, FALSE otherwise</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_filename">PDO_doc_cache::validate_filename()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_compile_id">PDO_doc_cache::validate_compile_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodvalidate_cache_id">PDO_doc_cache::validate_cache_id()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			is_cached
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$compile_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_callback" id="set_callback"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_callback</span> (line <span class="line-number">602</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the callback functions used by PDO_doc_cache</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodfetch">PDO_doc_cache::fetch()</a></li>
				<li><span class="field">see:</span> PDO_doc_cache::cache();</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../Output/uhu_output.html#method__construct">uhu_output::__construct()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$fetch_callback">PDO_doc_cache::$fetch_callback</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$cache_callback">PDO_doc_cache::$cache_callback</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set_callback
		</span>
					(<span class="var-type">callback|null</span>&nbsp;<span class="var-name">$cache_callback</span>, <span class="var-type">callback|null</span>&nbsp;<span class="var-name">$fetch_callback</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">callback|null</span>
				<span class="var-name">$cache_callback</span><span class="var-description">: Sets the callback function to be used when data is stored in the database</span>			</li>
					<li>
				<span class="var-type">callback|null</span>
				<span class="var-name">$fetch_callback</span><span class="var-description">: Sets the callback function to be used when data is retrieved from the database</span>			</li>
				</ul>
		
			
	</div>
<a name="methodSmarty_cache_handler" id="Smarty_cache_handler"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Smarty_cache_handler</span> (line <span class="line-number">529</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">For use with <a href="http://www.smarty.net/manual/en/section.template.cache.handler.func.php">Smarty's cache handler</a></p>
<p class="description"><p><div class="src-code"><ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">&lt;?php</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">#&nbsp;&nbsp;&nbsp;&nbsp;$Smarty&nbsp;is&nbsp;an&nbsp;instance&nbsp;of&nbsp;Smarty</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">#&nbsp;&nbsp;&nbsp;&nbsp;$PDO_doc_cache&nbsp;is&nbsp;an&nbsp;instance&nbsp;of&nbsp;PDO_doc_cache</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$Smarty</span><span class="src-sym">-&gt;</span><span class="src-id">cache_handler_func&nbsp;</span>=&nbsp;<span class="src-key">array</span><span class="src-sym">(</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$PDO_doc_cache</span><span class="src-sym">,</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-str">'Smarty_cache_handler'</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-php">?&gt;</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">usedby:</span> <a href="../Output/uhu_output.html#method__construct">uhu_output::__construct()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			Smarty_cache_handler
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$Smarty</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$cache_content</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$cache_id</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$compile_id</span> = <span class="var-default">null</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$expire_time</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$Smarty</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$cache_content</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$filename</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$cache_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$compile_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$expire_time</span>			</li>
				</ul>
		
			
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">339</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#methodgc_cache">PDO_doc_cache::gc_cache()</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$PDO">PDO_doc_cache::$PDO</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">PDO_doc_cache</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$PDO</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">PDO</span>
				<span class="var-name">$PDO</span><span class="var-description">: the PDO object used to interact with the database</span>			</li>
				</ul>
		
			
	</div>
<a name="method__clone" id="__clone"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">__clone</span> (line <span class="line-number">350</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Resets the PDO_doc_cache clone to safe defaults</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$fetch_callback">PDO_doc_cache::$fetch_callback</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$cache_callback">PDO_doc_cache::$cache_callback</a></li>
				<li><span class="field">uses:</span> <a href="../PDO_doc_cache/PDO_doc_cache.html#var$auto_serialize">PDO_doc_cache::$auto_serialize</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__clone
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="consterror_string_PDO_could_not_bind_column" id="error_string_PDO_could_not_bind_column"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">error_string_PDO_could_not_bind_column</span>
			 = <span class="const-default"> 'Could not bind column to value on prepared statement.'</span>
			(line <span class="line-number">324</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error message thrown when a column from a prepared statement could not be bound to a variable</p>
	
	
</div>
<a name="consterror_string_PDO_could_not_bind_parameters" id="error_string_PDO_could_not_bind_parameters"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">error_string_PDO_could_not_bind_parameters</span>
			 = <span class="const-default"> 'Could not bind parameters to prepared statement.'</span>
			(line <span class="line-number">320</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error message thrown when parameters/values could not be bound to a prepared statement</p>
	
	
</div>
<a name="consterror_string_PDO_could_not_execute_statement" id="error_string_PDO_could_not_execute_statement"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">error_string_PDO_could_not_execute_statement</span>
			 = <span class="const-default"> 'Could not execute prepared statement.'</span>
			(line <span class="line-number">328</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error message thrown when a prepared statement could not be executed</p>
	
	
</div>
<a name="consterror_string_PDO_could_not_fetch_bound_col" id="error_string_PDO_could_not_fetch_bound_col"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">error_string_PDO_could_not_fetch_bound_col</span>
			 = <span class="const-default"> 'Could not fetch bound column.'</span>
			(line <span class="line-number">332</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error message thrown when a bound column could not be fetched</p>
	
	
</div>
<a name="consterror_string_PDO_could_not_prepare_statement" id="error_string_PDO_could_not_prepare_statement"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">error_string_PDO_could_not_prepare_statement</span>
			 = <span class="const-default"> 'Could not prepare statement.'</span>
			(line <span class="line-number">316</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error message thrown when an SQL query could not be prepared</p>
	
	
</div>
<a name="constsql_cache_document" id="sql_cache_document"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_cache_document</span>
			 = <span class="const-default"><br />'INSERT OR REPLACE INTO<br />	PDO_doc_cache (id,filename,cache_id,compile_id,created,lifetime,document)<br />VALUES(<br />	:id,<br />	:filename,<br />	:cache_id,<br />	:compile_id,<br />	:created,<br />	:lifetime,<br />	:document<br />)'</span>
			(line <span class="line-number">218</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used to store the document</p>
	
	
</div>
<a name="constsql_clear_all_cache" id="sql_clear_all_cache"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_all_cache</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	(:now - created) &gt; :expire_time'</span>
			(line <span class="line-number">241</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries</p>
	
	
</div>
<a name="constsql_clear_cache_cache_id" id="sql_clear_cache_cache_id"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_cache_id</span>
			 = <span class="const-default"><br />'DELETE	FROM<br />	PDO_doc_cache<br />WHERE<br />	cache_id=:cache_id<br />	(:now - created) &gt;= (:expire_time + 0)'</span>
			(line <span class="line-number">287</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific cache id</p>
	
	
</div>
<a name="constsql_clear_cache_cache_id_compile_id" id="sql_clear_cache_cache_id_compile_id"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_cache_id_compile_id</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	cache_id=:cache_id AND<br />	compile_id=:compile_id<br />	(:now - created) &gt;= (:expire_time + 0)'</span>
			(line <span class="line-number">305</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific cache id and compile id</p>
	
	
</div>
<a name="constsql_clear_cache_compile_id" id="sql_clear_cache_compile_id"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_compile_id</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	compile_id=:compile_id<br />	(:now - created) &gt;= (:expire_time + 0)'</span>
			(line <span class="line-number">296</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific compile id</p>
	
	
</div>
<a name="constsql_clear_cache_filename" id="sql_clear_cache_filename"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_filename</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename'</span>
			(line <span class="line-number">249</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific filename</p>
	
	
</div>
<a name="constsql_clear_cache_filename_cache_id" id="sql_clear_cache_filename_cache_id"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_filename_cache_id</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename AND<br />	cache_id=:cache_id'</span>
			(line <span class="line-number">257</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific filename and cache id</p>
	
	
</div>
<a name="constsql_clear_cache_filename_cache_id_compile_id" id="sql_clear_cache_filename_cache_id_compile_id"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_filename_cache_id_compile_id</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename AND<br />	cache_id=:cache_id AND<br />	compile_id=:compile_id AND<br />	(:now - created) &gt;= (:expire_time + 0)'</span>
			(line <span class="line-number">266</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific filename, cache id and compile id</p>
	
	
</div>
<a name="constsql_clear_cache_filename_compile_id" id="sql_clear_cache_filename_compile_id"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_clear_cache_filename_compile_id</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename AND<br />	compile_id=:compile_id<br />	(:now - created) &gt;= (:expire_time + 0)'</span>
			(line <span class="line-number">277</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for clearing all cache entries with a specific filename and compile id</p>
	
	
</div>
<a name="constsql_create_index" id="sql_create_index"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_create_index</span>
			 = <span class="const-default"><br />'CREATE UNIQUE INDEX IF NOT EXISTS<br />	filename<br />ON<br />	PDO_doc_cache (filename,cache_id,compile_id)'</span>
			(line <span class="line-number">174</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used to create the index for PDO_doc_cache</p>
	
	
</div>
<a name="constsql_create_table" id="sql_create_table"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_create_table</span>
			 = <span class="const-default"><br />'CREATE TABLE IF NOT EXISTS PDO_doc_cache (<br />	id CHAR(40) PRIMARY KEY NOT NULL,<br />	filename CHAR(255) NOT NULL,<br />	cache_id CHAR(255) NOT NULL,<br />	compile_id CHAR(255) NOT NULL,<br />	created INT(10) NOT NULL,<br />	lifetime INT(8) NOT NULL,<br />	document BLOB<br />)'</span>
			(line <span class="line-number">161</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used to create the PDO_doc_cache table</p>
	
	
</div>
<a name="constsql_gc_cache" id="sql_gc_cache"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_gc_cache</span>
			 = <span class="const-default"><br />'DELETE FROM<br />	PDO_doc_cache<br />WHERE<br />	(created + lifetime) &lt; (:now + 0)'</span>
			(line <span class="line-number">233</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used for runnig garbage collection on the cache</p>
	
	
</div>
<a name="constsql_get_created" id="sql_get_created"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_get_created</span>
			 = <span class="const-default"><br />'SELECT<br />	created<br />FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename AND<br />	cache_id=:cache_id AND<br />	compile_id=:compile_id'</span>
			(line <span class="line-number">206</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used to retrieve the document creation time</p>
	
	
</div>
<a name="constsql_get_document" id="sql_get_document"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_get_document</span>
			 = <span class="const-default"><br />'SELECT<br />	document<br />FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename AND<br />	cache_id=:cache_id AND<br />	compile_id=:compile_id'</span>
			(line <span class="line-number">182</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used to retrieve the document</p>
	
	
</div>
<a name="constsql_get_expires" id="sql_get_expires"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">sql_get_expires</span>
			 = <span class="const-default"><br />'SELECT<br />	(created + lifetime) AS expires<br />FROM<br />	PDO_doc_cache<br />WHERE<br />	filename=:filename AND<br />	cache_id=:cache_id AND<br />	compile_id=:compile_id'</span>
			(line <span class="line-number">194</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">string SQL query used to retrieve the document expiry time</p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Tue, 13 Jan 2009 23:22:02 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>